[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Makes a shallow clone of this set; i.e., if items of the
set are reference types, then they are not cloned. If T is a value type,
then each element is copied as if by simple assignment.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public Set<T> Clone() |
Visual Basic (Declaration) |
---|
Public Function Clone As Set(Of T) |
Visual C++ |
---|
public: Set<T>^ Clone () |
Return Value
The cloned set.Remarks
Cloning the set takes time O(N), where N is the number of items in the set.
See Also
Set<(Of <T>)> Class
Wintellect.PowerCollections Namespace